package symbols;

import lexico.*;

public class Type extends ReservedWord {

	public int width = 0;

	public Type(String lexema, int tag, int width) {
		super(lexema, tag);
		this.width = width;
	}
	
	public static final Type
		Int 	= new Type("int", Tag.INT, 4),
		Float 	= new Type("float", Tag.FLOAT, 8),
		Char 	= new Type("char", Tag.CHAR, 1),
		Bool 	= new Type("boolean", Tag.BOOL, 1),
	    Void    = new Type("void", Tag.VOID, 0);
	
}
